package cs2340.todolist.model;



public class User {

	private String username;
	private String password;
	private String name;
	private String email;
	private long id;
	
	public User(long id, String email, String name, String username, String password) {
		this.setId(id);
		this.username = username;
		this.password = password;
		this.email    = email;
		this.name     = name;
	}
	
	
	
	//getters and setters
	public void setName(String name) {
		this.name = name;
	}
	
	public void setUsername(String un) {
		username = un;
	}
	
	public void setPassword(String pw) { 
		password = pw;
	}
	
	public String getName() {
		return name;
	}
	
	public String getUsername() {
		return username;
	}
	
	public String getPassword() {
		return password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	
}
